const w32 = @import("w32.zig");
const IUnknown = w32.IUnknown;
const HRESULT = w32.HRESULT;
const WINAPI = w32.WINAPI;
const GUID = w32.GUID;
const UINT = w32.UINT;
const UINT64 = w32.UINT64;
const SIZE_T = w32.SIZE_T;
const BOOL = w32.BOOL;

pub const MESSAGE_CATEGORY = enum(UINT) {
    APPLICATION_DEFINED = 0,
    MISCELLANEOUS = 1,
    INITIALIZATION = 2,
    CLEANUP = 3,
    COMPILATION = 4,
    STATE_CREATION = 5,
    STATE_SETTING = 6,
    STATE_GETTING = 7,
    RESOURCE_MANIPULATION = 8,
    EXECUTION = 9,
    SHADER = 10,
};

pub const MESSAGE_SEVERITY = enum(UINT) {
    CORRUPTION = 0,
    ERROR = 1,
    WARNING = 2,
    INFO = 3,
    MESSAGE = 4,
};

pub const MESSAGE_ID = enum(UINT) {
    UNKNOWN = 0,
    DEVICE_IASETVERTEXBUFFERS_HAZARD = 1,
    DEVICE_IASETINDEXBUFFER_HAZARD = 2,
    DEVICE_VSSETSHADERRESOURCES_HAZARD = 3,
    DEVICE_VSSETCONSTANTBUFFERS_HAZARD = 4,
    DEVICE_GSSETSHADERRESOURCES_HAZARD = 5,
    DEVICE_GSSETCONSTANTBUFFERS_HAZARD = 6,
    DEVICE_PSSETSHADERRESOURCES_HAZARD = 7,
    DEVICE_PSSETCONSTANTBUFFERS_HAZARD = 8,
    DEVICE_OMSETRENDERTARGETS_HAZARD = 9,
    DEVICE_SOSETTARGETS_HAZARD = 10,
    STRING_FROM_APPLICATION = 11,
    CORRUPTED_THIS = 12,
    CORRUPTED_PARAMETER1 = 13,
    CORRUPTED_PARAMETER2 = 14,
    CORRUPTED_PARAMETER3 = 15,
    CORRUPTED_PARAMETER4 = 16,
    CORRUPTED_PARAMETER5 = 17,
    CORRUPTED_PARAMETER6 = 18,
    CORRUPTED_PARAMETER7 = 19,
    CORRUPTED_PARAMETER8 = 20,
    CORRUPTED_PARAMETER9 = 21,
    CORRUPTED_PARAMETER10 = 22,
    CORRUPTED_PARAMETER11 = 23,
    CORRUPTED_PARAMETER12 = 24,
    CORRUPTED_PARAMETER13 = 25,
    CORRUPTED_PARAMETER14 = 26,
    CORRUPTED_PARAMETER15 = 27,
    CORRUPTED_MULTITHREADING = 28,
    MESSAGE_REPORTING_OUTOFMEMORY = 29,
    IASETINPUTLAYOUT_UNBINDDELETINGOBJECT = 30,
    IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT = 31,
    IASETINDEXBUFFER_UNBINDDELETINGOBJECT = 32,
    VSSETSHADER_UNBINDDELETINGOBJECT = 33,
    VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 34,
    VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 35,
    VSSETSAMPLERS_UNBINDDELETINGOBJECT = 36,
    GSSETSHADER_UNBINDDELETINGOBJECT = 37,
    GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 38,
    GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 39,
    GSSETSAMPLERS_UNBINDDELETINGOBJECT = 40,
    SOSETTARGETS_UNBINDDELETINGOBJECT = 41,
    PSSETSHADER_UNBINDDELETINGOBJECT = 42,
    PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 43,
    PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 44,
    PSSETSAMPLERS_UNBINDDELETINGOBJECT = 45,
    RSSETSTATE_UNBINDDELETINGOBJECT = 46,
    OMSETBLENDSTATE_UNBINDDELETINGOBJECT = 47,
    OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT = 48,
    OMSETRENDERTARGETS_UNBINDDELETINGOBJECT = 49,
    SETPREDICATION_UNBINDDELETINGOBJECT = 50,
    GETPRIVATEDATA_MOREDATA = 51,
    SETPRIVATEDATA_INVALIDFREEDATA = 52,
    SETPRIVATEDATA_INVALIDIUNKNOWN = 53,
    SETPRIVATEDATA_INVALIDFLAGS = 54,
    SETPRIVATEDATA_CHANGINGPARAMS = 55,
    SETPRIVATEDATA_OUTOFMEMORY = 56,
    CREATEBUFFER_UNRECOGNIZEDFORMAT = 57,
    CREATEBUFFER_INVALIDSAMPLES = 58,
    CREATEBUFFER_UNRECOGNIZEDUSAGE = 59,
    CREATEBUFFER_UNRECOGNIZEDBINDFLAGS = 60,
    CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS = 61,
    CREATEBUFFER_UNRECOGNIZEDMISCFLAGS = 62,
    CREATEBUFFER_INVALIDCPUACCESSFLAGS = 63,
    CREATEBUFFER_INVALIDBINDFLAGS = 64,
    CREATEBUFFER_INVALIDINITIALDATA = 65,
    CREATEBUFFER_INVALIDDIMENSIONS = 66,
    CREATEBUFFER_INVALIDMIPLEVELS = 67,
    CREATEBUFFER_INVALIDMISCFLAGS = 68,
    CREATEBUFFER_INVALIDARG_RETURN = 69,
    CREATEBUFFER_OUTOFMEMORY_RETURN = 70,
    CREATEBUFFER_NULLDESC = 71,
    CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS = 72,
    CREATEBUFFER_LARGEALLOCATION = 73,
    CREATETEXTURE1D_UNRECOGNIZEDFORMAT = 74,
    CREATETEXTURE1D_UNSUPPORTEDFORMAT = 75,
    CREATETEXTURE1D_INVALIDSAMPLES = 76,
    CREATETEXTURE1D_UNRECOGNIZEDUSAGE = 77,
    CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS = 78,
    CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS = 79,
    CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS = 80,
    CREATETEXTURE1D_INVALIDCPUACCESSFLAGS = 81,
    CREATETEXTURE1D_INVALIDBINDFLAGS = 82,
    CREATETEXTURE1D_INVALIDINITIALDATA = 83,
    CREATETEXTURE1D_INVALIDDIMENSIONS = 84,
    CREATETEXTURE1D_INVALIDMIPLEVELS = 85,
    CREATETEXTURE1D_INVALIDMISCFLAGS = 86,
    CREATETEXTURE1D_INVALIDARG_RETURN = 87,
    CREATETEXTURE1D_OUTOFMEMORY_RETURN = 88,
    CREATETEXTURE1D_NULLDESC = 89,
    CREATETEXTURE1D_LARGEALLOCATION = 90,
    CREATETEXTURE2D_UNRECOGNIZEDFORMAT = 91,
    CREATETEXTURE2D_UNSUPPORTEDFORMAT = 92,
    CREATETEXTURE2D_INVALIDSAMPLES = 93,
    CREATETEXTURE2D_UNRECOGNIZEDUSAGE = 94,
    CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS = 95,
    CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS = 96,
    CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS = 97,
    CREATETEXTURE2D_INVALIDCPUACCESSFLAGS = 98,
    CREATETEXTURE2D_INVALIDBINDFLAGS = 99,
    CREATETEXTURE2D_INVALIDINITIALDATA = 100,
    CREATETEXTURE2D_INVALIDDIMENSIONS = 101,
    CREATETEXTURE2D_INVALIDMIPLEVELS = 102,
    CREATETEXTURE2D_INVALIDMISCFLAGS = 103,
    CREATETEXTURE2D_INVALIDARG_RETURN = 104,
    CREATETEXTURE2D_OUTOFMEMORY_RETURN = 105,
    CREATETEXTURE2D_NULLDESC = 106,
    CREATETEXTURE2D_LARGEALLOCATION = 107,
    CREATETEXTURE3D_UNRECOGNIZEDFORMAT = 108,
    CREATETEXTURE3D_UNSUPPORTEDFORMAT = 109,
    CREATETEXTURE3D_INVALIDSAMPLES = 110,
    CREATETEXTURE3D_UNRECOGNIZEDUSAGE = 111,
    CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS = 112,
    CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS = 113,
    CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS = 114,
    CREATETEXTURE3D_INVALIDCPUACCESSFLAGS = 115,
    CREATETEXTURE3D_INVALIDBINDFLAGS = 116,
    CREATETEXTURE3D_INVALIDINITIALDATA = 117,
    CREATETEXTURE3D_INVALIDDIMENSIONS = 118,
    CREATETEXTURE3D_INVALIDMIPLEVELS = 119,
    CREATETEXTURE3D_INVALIDMISCFLAGS = 120,
    CREATETEXTURE3D_INVALIDARG_RETURN = 121,
    CREATETEXTURE3D_OUTOFMEMORY_RETURN = 122,
    CREATETEXTURE3D_NULLDESC = 123,
    CREATETEXTURE3D_LARGEALLOCATION = 124,
    CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT = 125,
    CREATESHADERRESOURCEVIEW_INVALIDDESC = 126,
    CREATESHADERRESOURCEVIEW_INVALIDFORMAT = 127,
    CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS = 128,
    CREATESHADERRESOURCEVIEW_INVALIDRESOURCE = 129,
    CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS = 130,
    CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN = 131,
    CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN = 132,
    CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT = 133,
    CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT = 134,
    CREATERENDERTARGETVIEW_INVALIDDESC = 135,
    CREATERENDERTARGETVIEW_INVALIDFORMAT = 136,
    CREATERENDERTARGETVIEW_INVALIDDIMENSIONS = 137,
    CREATERENDERTARGETVIEW_INVALIDRESOURCE = 138,
    CREATERENDERTARGETVIEW_TOOMANYOBJECTS = 139,
    CREATERENDERTARGETVIEW_INVALIDARG_RETURN = 140,
    CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN = 141,
    CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT = 142,
    CREATEDEPTHSTENCILVIEW_INVALIDDESC = 143,
    CREATEDEPTHSTENCILVIEW_INVALIDFORMAT = 144,
    CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS = 145,
    CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE = 146,
    CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS = 147,
    CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN = 148,
    CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN = 149,
    CREATEINPUTLAYOUT_OUTOFMEMORY = 150,
    CREATEINPUTLAYOUT_TOOMANYELEMENTS = 151,
    CREATEINPUTLAYOUT_INVALIDFORMAT = 152,
    CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT = 153,
    CREATEINPUTLAYOUT_INVALIDSLOT = 154,
    CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS = 155,
    CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH = 156,
    CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE = 157,
    CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE = 158,
    CREATEINPUTLAYOUT_INVALIDALIGNMENT = 159,
    CREATEINPUTLAYOUT_DUPLICATESEMANTIC = 160,
    CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE = 161,
    CREATEINPUTLAYOUT_NULLSEMANTIC = 162,
    CREATEINPUTLAYOUT_MISSINGELEMENT = 163,
    CREATEINPUTLAYOUT_NULLDESC = 164,
    CREATEVERTEXSHADER_OUTOFMEMORY = 165,
    CREATEVERTEXSHADER_INVALIDSHADERBYTECODE = 166,
    CREATEVERTEXSHADER_INVALIDSHADERTYPE = 167,
    CREATEGEOMETRYSHADER_OUTOFMEMORY = 168,
    CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE = 169,
    CREATEGEOMETRYSHADER_INVALIDSHADERTYPE = 170,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY = 171,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE = 172,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE = 173,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES = 174,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED = 175,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL = 176,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL = 177,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED = 178,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT = 179,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT = 180,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT = 181,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT = 182,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION = 183,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT = 184,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE = 185,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC = 186,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH = 187,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS = 188,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX = 189,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE = 190,
    CREATEPIXELSHADER_OUTOFMEMORY = 191,
    CREATEPIXELSHADER_INVALIDSHADERBYTECODE = 192,
    CREATEPIXELSHADER_INVALIDSHADERTYPE = 193,
    CREATERASTERIZERSTATE_INVALIDFILLMODE = 194,
    CREATERASTERIZERSTATE_INVALIDCULLMODE = 195,
    CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP = 196,
    CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS = 197,
    CREATERASTERIZERSTATE_TOOMANYOBJECTS = 198,
    CREATERASTERIZERSTATE_NULLDESC = 199,
    CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK = 200,
    CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC = 201,
    CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP = 202,
    CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP = 203,
    CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP = 204,
    CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC = 205,
    CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP = 206,
    CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP = 207,
    CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP = 208,
    CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC = 209,
    CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS = 210,
    CREATEDEPTHSTENCILSTATE_NULLDESC = 211,
    CREATEBLENDSTATE_INVALIDSRCBLEND = 212,
    CREATEBLENDSTATE_INVALIDDESTBLEND = 213,
    CREATEBLENDSTATE_INVALIDBLENDOP = 214,
    CREATEBLENDSTATE_INVALIDSRCBLENDALPHA = 215,
    CREATEBLENDSTATE_INVALIDDESTBLENDALPHA = 216,
    CREATEBLENDSTATE_INVALIDBLENDOPALPHA = 217,
    CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK = 218,
    CREATEBLENDSTATE_TOOMANYOBJECTS = 219,
    CREATEBLENDSTATE_NULLDESC = 220,
    CREATESAMPLERSTATE_INVALIDFILTER = 221,
    CREATESAMPLERSTATE_INVALIDADDRESSU = 222,
    CREATESAMPLERSTATE_INVALIDADDRESSV = 223,
    CREATESAMPLERSTATE_INVALIDADDRESSW = 224,
    CREATESAMPLERSTATE_INVALIDMIPLODBIAS = 225,
    CREATESAMPLERSTATE_INVALIDMAXANISOTROPY = 226,
    CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC = 227,
    CREATESAMPLERSTATE_INVALIDMINLOD = 228,
    CREATESAMPLERSTATE_INVALIDMAXLOD = 229,
    CREATESAMPLERSTATE_TOOMANYOBJECTS = 230,
    CREATESAMPLERSTATE_NULLDESC = 231,
    CREATEQUERYORPREDICATE_INVALIDQUERY = 232,
    CREATEQUERYORPREDICATE_INVALIDMISCFLAGS = 233,
    CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG = 234,
    CREATEQUERYORPREDICATE_NULLDESC = 235,
    DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED = 236,
    DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED = 237,
    IASETVERTEXBUFFERS_INVALIDBUFFER = 238,
    DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE = 239,
    DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY = 240,
    IASETINDEXBUFFER_INVALIDBUFFER = 241,
    DEVICE_IASETINDEXBUFFER_FORMAT_INVALID = 242,
    DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE = 243,
    DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED = 244,
    DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY = 245,
    VSSETCONSTANTBUFFERS_INVALIDBUFFER = 246,
    DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 247,
    DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY = 248,
    DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY = 249,
    GSSETCONSTANTBUFFERS_INVALIDBUFFER = 250,
    DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 251,
    DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY = 252,
    SOSETTARGETS_INVALIDBUFFER = 253,
    DEVICE_SOSETTARGETS_OFFSET_UNALIGNED = 254,
    DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY = 255,
    PSSETCONSTANTBUFFERS_INVALIDBUFFER = 256,
    DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 257,
    DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY = 258,
    DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT = 259,
    DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR = 260,
    CLEARRENDERTARGETVIEW_DENORMFLUSH = 261,
    CLEARDEPTHSTENCILVIEW_DENORMFLUSH = 262,
    CLEARDEPTHSTENCILVIEW_INVALID = 263,
    DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY = 264,
    DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY = 265,
    DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 266,
    DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY = 267,
    DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY = 268,
    DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 269,
    DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY = 270,
    DEVICE_SOGETTARGETS_BUFFERS_EMPTY = 271,
    DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY = 272,
    DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 273,
    DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY = 274,
    DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY = 275,
    DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY = 276,
    DEVICE_GENERATEMIPS_RESOURCE_INVALID = 277,
    COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE = 278,
    COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE = 279,
    COPYSUBRESOURCEREGION_INVALIDSOURCEBOX = 280,
    COPYSUBRESOURCEREGION_INVALIDSOURCE = 281,
    COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE = 282,
    COPYSUBRESOURCEREGION_INVALIDSOURCESTATE = 283,
    COPYRESOURCE_INVALIDSOURCE = 284,
    COPYRESOURCE_INVALIDDESTINATIONSTATE = 285,
    COPYRESOURCE_INVALIDSOURCESTATE = 286,
    UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE = 287,
    UPDATESUBRESOURCE_INVALIDDESTINATIONBOX = 288,
    UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE = 289,
    DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID = 290,
    DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID = 291,
    DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID = 292,
    DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID = 293,
    DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID = 294,
    BUFFER_MAP_INVALIDMAPTYPE = 295,
    BUFFER_MAP_INVALIDFLAGS = 296,
    BUFFER_MAP_ALREADYMAPPED = 297,
    BUFFER_MAP_DEVICEREMOVED_RETURN = 298,
    BUFFER_UNMAP_NOTMAPPED = 299,
    TEXTURE1D_MAP_INVALIDMAPTYPE = 300,
    TEXTURE1D_MAP_INVALIDSUBRESOURCE = 301,
    TEXTURE1D_MAP_INVALIDFLAGS = 302,
    TEXTURE1D_MAP_ALREADYMAPPED = 303,
    TEXTURE1D_MAP_DEVICEREMOVED_RETURN = 304,
    TEXTURE1D_UNMAP_INVALIDSUBRESOURCE = 305,
    TEXTURE1D_UNMAP_NOTMAPPED = 306,
    TEXTURE2D_MAP_INVALIDMAPTYPE = 307,
    TEXTURE2D_MAP_INVALIDSUBRESOURCE = 308,
    TEXTURE2D_MAP_INVALIDFLAGS = 309,
    TEXTURE2D_MAP_ALREADYMAPPED = 310,
    TEXTURE2D_MAP_DEVICEREMOVED_RETURN = 311,
    TEXTURE2D_UNMAP_INVALIDSUBRESOURCE = 312,
    TEXTURE2D_UNMAP_NOTMAPPED = 313,
    TEXTURE3D_MAP_INVALIDMAPTYPE = 314,
    TEXTURE3D_MAP_INVALIDSUBRESOURCE = 315,
    TEXTURE3D_MAP_INVALIDFLAGS = 316,
    TEXTURE3D_MAP_ALREADYMAPPED = 317,
    TEXTURE3D_MAP_DEVICEREMOVED_RETURN = 318,
    TEXTURE3D_UNMAP_INVALIDSUBRESOURCE = 319,
    TEXTURE3D_UNMAP_NOTMAPPED = 320,
    CHECKFORMATSUPPORT_FORMAT_DEPRECATED = 321,
    CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED = 322,
    SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS = 323,
    SETEXCEPTIONMODE_INVALIDARG_RETURN = 324,
    SETEXCEPTIONMODE_DEVICEREMOVED_RETURN = 325,
    REF_SIMULATING_INFINITELY_FAST_HARDWARE = 326,
    REF_THREADING_MODE = 327,
    REF_UMDRIVER_EXCEPTION = 328,
    REF_KMDRIVER_EXCEPTION = 329,
    REF_HARDWARE_EXCEPTION = 330,
    REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE = 331,
    REF_PROBLEM_PARSING_SHADER = 332,
    REF_OUT_OF_MEMORY = 333,
    REF_INFO = 334,
    DEVICE_DRAW_VERTEXPOS_OVERFLOW = 335,
    DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW = 336,
    DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW = 337,
    DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW = 338,
    DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW = 339,
    DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW = 340,
    DEVICE_DRAW_VERTEX_SHADER_NOT_SET = 341,
    DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND = 342,
    DEVICE_SHADER_LINKAGE_REGISTERINDEX = 343,
    DEVICE_SHADER_LINKAGE_COMPONENTTYPE = 344,
    DEVICE_SHADER_LINKAGE_REGISTERMASK = 345,
    DEVICE_SHADER_LINKAGE_SYSTEMVALUE = 346,
    DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS = 347,
    DEVICE_DRAW_VERTEX_BUFFER_NOT_SET = 348,
    DEVICE_DRAW_INPUTLAYOUT_NOT_SET = 349,
    DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET = 350,
    DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL = 351,
    DEVICE_DRAW_SAMPLER_NOT_SET = 352,
    DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET = 353,
    DEVICE_DRAW_VIEW_DIMENSION_MISMATCH = 354,
    DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL = 355,
    DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL = 356,
    DEVICE_DRAW_INDEX_BUFFER_NOT_SET = 357,
    DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID = 358,
    DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL = 359,
    DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH = 360,
    DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH = 361,
    DEVICE_DRAW_POSITION_NOT_PRESENT = 362,
    DEVICE_DRAW_OUTPUT_STREAM_NOT_SET = 363,
    DEVICE_DRAW_BOUND_RESOURCE_MAPPED = 364,
    DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY = 365,
    DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED = 366,
    DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED = 367,
    DEVICE_DRAW_INDEX_OFFSET_UNALIGNED = 368,
    DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED = 369,
    DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED = 370,
    DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED = 371,
    DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED = 372,
    DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED = 373,
    DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE = 374,
    DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER = 375,
    DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING = 376,
    DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 = 377,
    DEVICE_REMOVAL_PROCESS_AT_FAULT = 378,
    DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT = 379,
    DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT = 380,
    DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN = 381,
    DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN = 382,
    DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN = 383,
    DEVICE_DRAW_VIEWPORT_NOT_SET = 384,
    CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC = 385,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC = 386,
    DEVICE_RSSETVIEWPORTS_DENORMFLUSH = 387,
    OMSETRENDERTARGETS_INVALIDVIEW = 388,
    DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS = 389,
    DEVICE_DRAW_SAMPLER_MISMATCH = 390,
    CREATEINPUTLAYOUT_TYPE_MISMATCH = 391,
    BLENDSTATE_GETDESC_LEGACY = 392,
    SHADERRESOURCEVIEW_GETDESC_LEGACY = 393,
    CREATEQUERY_OUTOFMEMORY_RETURN = 394,
    CREATEPREDICATE_OUTOFMEMORY_RETURN = 395,
    CREATECOUNTER_OUTOFRANGE_COUNTER = 396,
    CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED = 397,
    CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER = 398,
    CREATECOUNTER_OUTOFMEMORY_RETURN = 399,
    CREATECOUNTER_NONEXCLUSIVE_RETURN = 400,
    CREATECOUNTER_NULLDESC = 401,
    CHECKCOUNTER_OUTOFRANGE_COUNTER = 402,
    CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER = 403,
    SETPREDICATION_INVALID_PREDICATE_STATE = 404,
    QUERY_BEGIN_UNSUPPORTED = 405,
    PREDICATE_BEGIN_DURING_PREDICATION = 406,
    QUERY_BEGIN_DUPLICATE = 407,
    QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS = 408,
    PREDICATE_END_DURING_PREDICATION = 409,
    QUERY_END_ABANDONING_PREVIOUS_RESULTS = 410,
    QUERY_END_WITHOUT_BEGIN = 411,
    QUERY_GETDATA_INVALID_DATASIZE = 412,
    QUERY_GETDATA_INVALID_FLAGS = 413,
    QUERY_GETDATA_INVALID_CALL = 414,
    DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH = 415,
    DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED = 416,
    DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN = 417,
    DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE = 418,
    DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE = 419,
    CREATEINPUTLAYOUT_EMPTY_LAYOUT = 420,
    DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH = 421,
    LIVE_OBJECT_SUMMARY = 422,
    LIVE_BUFFER = 423,
    LIVE_TEXTURE1D = 424,
    LIVE_TEXTURE2D = 425,
    LIVE_TEXTURE3D = 426,
    LIVE_SHADERRESOURCEVIEW = 427,
    LIVE_RENDERTARGETVIEW = 428,
    LIVE_DEPTHSTENCILVIEW = 429,
    LIVE_VERTEXSHADER = 430,
    LIVE_GEOMETRYSHADER = 431,
    LIVE_PIXELSHADER = 432,
    LIVE_INPUTLAYOUT = 433,
    LIVE_SAMPLER = 434,
    LIVE_BLENDSTATE = 435,
    LIVE_DEPTHSTENCILSTATE = 436,
    LIVE_RASTERIZERSTATE = 437,
    LIVE_QUERY = 438,
    LIVE_PREDICATE = 439,
    LIVE_COUNTER = 440,
    LIVE_DEVICE = 441,
    LIVE_SWAPCHAIN = 442,
    D3D10_MESSAGES_END = 443,
    D3D10L9_MESSAGES_START = 1048576,
    CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED = 1048577,
    CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED = 1048578,
    CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT = 1048579,
    CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY = 1048580,
    CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE = 1048581,
    VSSETSAMPLERS_NOT_SUPPORTED = 1048582,
    VSSETSAMPLERS_TOO_MANY_SAMPLERS = 1048583,
    PSSETSAMPLERS_TOO_MANY_SAMPLERS = 1048584,
    CREATERESOURCE_NO_ARRAYS = 1048585,
    CREATERESOURCE_NO_VB_AND_IB_BIND = 1048586,
    CREATERESOURCE_NO_TEXTURE_1D = 1048587,
    CREATERESOURCE_DIMENSION_OUT_OF_RANGE = 1048588,
    CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE = 1048589,
    OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS = 1048590,
    OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS = 1048591,
    IASETVERTEXBUFFERS_BAD_BUFFER_INDEX = 1048592,
    DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS = 1048593,
    DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED = 1048594,
    DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS = 1048595,
    COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY = 1048596,
    COPYRESOURCE_NO_TEXTURE_3D_READBACK = 1048597,
    COPYRESOURCE_NO_TEXTURE_ONLY_READBACK = 1048598,
    CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT = 1048599,
    CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE = 1048600,
    CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE = 1048601,
    DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE = 1048602,
    CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD = 1048603,
    CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL = 1048604,
    CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX = 1048605,
    CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO = 1048606,
    CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES = 1048607,
    CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET = 1048608,
    CREATERESOURCE_NO_DWORD_INDEX_BUFFER = 1048609,
    CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE = 1048610,
    CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE = 1048611,
    CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE = 1048612,
    CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS = 1048613,
    CREATERESOURCE_NO_STREAM_OUT = 1048614,
    CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS = 1048615,
    CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES = 1048616,
    CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED = 1048617,
    VSSHADERRESOURCES_NOT_SUPPORTED = 1048618,
    GEOMETRY_SHADER_NOT_SUPPORTED = 1048619,
    STREAM_OUT_NOT_SUPPORTED = 1048620,
    TEXT_FILTER_NOT_SUPPORTED = 1048621,
    CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND = 1048622,
    CREATEBLENDSTATE_NO_MRT_BLEND = 1048623,
    CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED = 1048624,
    CREATESAMPLERSTATE_NO_MIRRORONCE = 1048625,
    DRAWINSTANCED_NOT_SUPPORTED = 1048626,
    DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3 = 1048627,
    DRAWINDEXED_POINTLIST_UNSUPPORTED = 1048628,
    SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO = 1048629,
    CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION = 1048630,
    CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED = 1048631,
    DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR = 1048632,
    SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA = 1048633,
    CREATERESOURCE_NON_POW_2_MIPMAP = 1048634,
    CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED = 1048635,
    OMSETRENDERTARGETS_NO_SRGB_MRT = 1048636,
    COPYRESOURCE_NO_3D_MISMATCHED_UPDATES = 1048637,
    D3D10L9_MESSAGES_END = 1048638,
    D3D11_MESSAGES_START = 2097152,
    CREATEDEPTHSTENCILVIEW_INVALIDFLAGS = 2097153,
    CREATEVERTEXSHADER_INVALIDCLASSLINKAGE = 2097154,
    CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE = 2097155,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTREAMS = 2097156,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER = 2097157,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTREAMS = 2097158,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCLASSLINKAGE = 2097159,
    CREATEPIXELSHADER_INVALIDCLASSLINKAGE = 2097160,
    CREATEDEFERREDCONTEXT_INVALID_COMMANDLISTFLAGS = 2097161,
    CREATEDEFERREDCONTEXT_SINGLETHREADED = 2097162,
    CREATEDEFERREDCONTEXT_INVALIDARG_RETURN = 2097163,
    CREATEDEFERREDCONTEXT_INVALID_CALL_RETURN = 2097164,
    CREATEDEFERREDCONTEXT_OUTOFMEMORY_RETURN = 2097165,
    FINISHDISPLAYLIST_ONIMMEDIATECONTEXT = 2097166,
    FINISHDISPLAYLIST_OUTOFMEMORY_RETURN = 2097167,
    FINISHDISPLAYLIST_INVALID_CALL_RETURN = 2097168,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM = 2097169,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES = 2097170,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES = 2097171,
    CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES = 2097172,
    DEVICE_HSSETSHADERRESOURCES_HAZARD = 2097173,
    DEVICE_HSSETCONSTANTBUFFERS_HAZARD = 2097174,
    HSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 2097175,
    HSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 2097176,
    CREATEHULLSHADER_INVALIDCALL = 2097177,
    CREATEHULLSHADER_OUTOFMEMORY = 2097178,
    CREATEHULLSHADER_INVALIDSHADERBYTECODE = 2097179,
    CREATEHULLSHADER_INVALIDSHADERTYPE = 2097180,
    CREATEHULLSHADER_INVALIDCLASSLINKAGE = 2097181,
    DEVICE_HSSETSHADERRESOURCES_VIEWS_EMPTY = 2097182,
    HSSETCONSTANTBUFFERS_INVALIDBUFFER = 2097183,
    DEVICE_HSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 2097184,
    DEVICE_HSSETSAMPLERS_SAMPLERS_EMPTY = 2097185,
    DEVICE_HSGETSHADERRESOURCES_VIEWS_EMPTY = 2097186,
    DEVICE_HSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 2097187,
    DEVICE_HSGETSAMPLERS_SAMPLERS_EMPTY = 2097188,
    DEVICE_DSSETSHADERRESOURCES_HAZARD = 2097189,
    DEVICE_DSSETCONSTANTBUFFERS_HAZARD = 2097190,
    DSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 2097191,
    DSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 2097192,
    CREATEDOMAINSHADER_INVALIDCALL = 2097193,
    CREATEDOMAINSHADER_OUTOFMEMORY = 2097194,
    CREATEDOMAINSHADER_INVALIDSHADERBYTECODE = 2097195,
    CREATEDOMAINSHADER_INVALIDSHADERTYPE = 2097196,
    CREATEDOMAINSHADER_INVALIDCLASSLINKAGE = 2097197,
    DEVICE_DSSETSHADERRESOURCES_VIEWS_EMPTY = 2097198,
    DSSETCONSTANTBUFFERS_INVALIDBUFFER = 2097199,
    DEVICE_DSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 2097200,
    DEVICE_DSSETSAMPLERS_SAMPLERS_EMPTY = 2097201,
    DEVICE_DSGETSHADERRESOURCES_VIEWS_EMPTY = 2097202,
    DEVICE_DSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 2097203,
    DEVICE_DSGETSAMPLERS_SAMPLERS_EMPTY = 2097204,
    DEVICE_DRAW_HS_XOR_DS_MISMATCH = 2097205,
    DEFERRED_CONTEXT_REMOVAL_PROCESS_AT_FAULT = 2097206,
    DEVICE_DRAWINDIRECT_INVALID_ARG_BUFFER = 2097207,
    DEVICE_DRAWINDIRECT_OFFSET_UNALIGNED = 2097208,
    DEVICE_DRAWINDIRECT_OFFSET_OVERFLOW = 2097209,
    RESOURCE_MAP_INVALIDMAPTYPE = 2097210,
    RESOURCE_MAP_INVALIDSUBRESOURCE = 2097211,
    RESOURCE_MAP_INVALIDFLAGS = 2097212,
    RESOURCE_MAP_ALREADYMAPPED = 2097213,
    RESOURCE_MAP_DEVICEREMOVED_RETURN = 2097214,
    RESOURCE_MAP_OUTOFMEMORY_RETURN = 2097215,
    RESOURCE_MAP_WITHOUT_INITIAL_DISCARD = 2097216,
    RESOURCE_UNMAP_INVALIDSUBRESOURCE = 2097217,
    RESOURCE_UNMAP_NOTMAPPED = 2097218,
    DEVICE_DRAW_RASTERIZING_CONTROL_POINTS = 2097219,
    DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNSUPPORTED = 2097220,
    DEVICE_DRAW_HS_DS_SIGNATURE_MISMATCH = 2097221,
    DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH = 2097222,
    DEVICE_DRAW_HS_DS_CONTROL_POINT_COUNT_MISMATCH = 2097223,
    DEVICE_DRAW_HS_DS_TESSELLATOR_DOMAIN_MISMATCH = 2097224,
    CREATE_CONTEXT = 2097225,
    LIVE_CONTEXT = 2097226,
    DESTROY_CONTEXT = 2097227,
    CREATE_BUFFER = 2097228,
    LIVE_BUFFER_WIN7 = 2097229,
    DESTROY_BUFFER = 2097230,
    CREATE_TEXTURE1D = 2097231,
    LIVE_TEXTURE1D_WIN7 = 2097232,
    DESTROY_TEXTURE1D = 2097233,
    CREATE_TEXTURE2D = 2097234,
    LIVE_TEXTURE2D_WIN7 = 2097235,
    DESTROY_TEXTURE2D = 2097236,
    CREATE_TEXTURE3D = 2097237,
    LIVE_TEXTURE3D_WIN7 = 2097238,
    DESTROY_TEXTURE3D = 2097239,
    CREATE_SHADERRESOURCEVIEW = 2097240,
    LIVE_SHADERRESOURCEVIEW_WIN7 = 2097241,
    DESTROY_SHADERRESOURCEVIEW = 2097242,
    CREATE_RENDERTARGETVIEW = 2097243,
    LIVE_RENDERTARGETVIEW_WIN7 = 2097244,
    DESTROY_RENDERTARGETVIEW = 2097245,
    CREATE_DEPTHSTENCILVIEW = 2097246,
    LIVE_DEPTHSTENCILVIEW_WIN7 = 2097247,
    DESTROY_DEPTHSTENCILVIEW = 2097248,
    CREATE_VERTEXSHADER = 2097249,
    LIVE_VERTEXSHADER_WIN7 = 2097250,
    DESTROY_VERTEXSHADER = 2097251,
    CREATE_HULLSHADER = 2097252,
    LIVE_HULLSHADER = 2097253,
    DESTROY_HULLSHADER = 2097254,
    CREATE_DOMAINSHADER = 2097255,
    LIVE_DOMAINSHADER = 2097256,
    DESTROY_DOMAINSHADER = 2097257,
    CREATE_GEOMETRYSHADER = 2097258,
    LIVE_GEOMETRYSHADER_WIN7 = 2097259,
    DESTROY_GEOMETRYSHADER = 2097260,
    CREATE_PIXELSHADER = 2097261,
    LIVE_PIXELSHADER_WIN7 = 2097262,
    DESTROY_PIXELSHADER = 2097263,
    CREATE_INPUTLAYOUT = 2097264,
    LIVE_INPUTLAYOUT_WIN7 = 2097265,
    DESTROY_INPUTLAYOUT = 2097266,
    CREATE_SAMPLER = 2097267,
    LIVE_SAMPLER_WIN7 = 2097268,
    DESTROY_SAMPLER = 2097269,
    CREATE_BLENDSTATE = 2097270,
    LIVE_BLENDSTATE_WIN7 = 2097271,
    DESTROY_BLENDSTATE = 2097272,
    CREATE_DEPTHSTENCILSTATE = 2097273,
    LIVE_DEPTHSTENCILSTATE_WIN7 = 2097274,
    DESTROY_DEPTHSTENCILSTATE = 2097275,
    CREATE_RASTERIZERSTATE = 2097276,
    LIVE_RASTERIZERSTATE_WIN7 = 2097277,
    DESTROY_RASTERIZERSTATE = 2097278,
    CREATE_QUERY = 2097279,
    LIVE_QUERY_WIN7 = 2097280,
    DESTROY_QUERY = 2097281,
    CREATE_PREDICATE = 2097282,
    LIVE_PREDICATE_WIN7 = 2097283,
    DESTROY_PREDICATE = 2097284,
    CREATE_COUNTER = 2097285,
    DESTROY_COUNTER = 2097286,
    CREATE_COMMANDLIST = 2097287,
    LIVE_COMMANDLIST = 2097288,
    DESTROY_COMMANDLIST = 2097289,
    CREATE_CLASSINSTANCE = 2097290,
    LIVE_CLASSINSTANCE = 2097291,
    DESTROY_CLASSINSTANCE = 2097292,
    CREATE_CLASSLINKAGE = 2097293,
    LIVE_CLASSLINKAGE = 2097294,
    DESTROY_CLASSLINKAGE = 2097295,
    LIVE_DEVICE_WIN7 = 2097296,
    LIVE_OBJECT_SUMMARY_WIN7 = 2097297,
    CREATE_COMPUTESHADER = 2097298,
    LIVE_COMPUTESHADER = 2097299,
    DESTROY_COMPUTESHADER = 2097300,
    CREATE_UNORDEREDACCESSVIEW = 2097301,
    LIVE_UNORDEREDACCESSVIEW = 2097302,
    DESTROY_UNORDEREDACCESSVIEW = 2097303,
    DEVICE_SETSHADER_INTERFACES_FEATURELEVEL = 2097304,
    DEVICE_SETSHADER_INTERFACE_COUNT_MISMATCH = 2097305,
    DEVICE_SETSHADER_INVALID_INSTANCE = 2097306,
    DEVICE_SETSHADER_INVALID_INSTANCE_INDEX = 2097307,
    DEVICE_SETSHADER_INVALID_INSTANCE_TYPE = 2097308,
    DEVICE_SETSHADER_INVALID_INSTANCE_DATA = 2097309,
    DEVICE_SETSHADER_UNBOUND_INSTANCE_DATA = 2097310,
    DEVICE_SETSHADER_INSTANCE_DATA_BINDINGS = 2097311,
    DEVICE_CREATESHADER_CLASSLINKAGE_FULL = 2097312,
    DEVICE_CHECKFEATURESUPPORT_UNRECOGNIZED_FEATURE = 2097313,
    DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE = 2097314,
    DEVICE_CHECKFEATURESUPPORT_INVALIDARG_RETURN = 2097315,
    DEVICE_CSSETSHADERRESOURCES_HAZARD = 2097316,
    DEVICE_CSSETCONSTANTBUFFERS_HAZARD = 2097317,
    CSSETSHADERRESOURCES_UNBINDDELETINGOBJECT = 2097318,
    CSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT = 2097319,
    CREATECOMPUTESHADER_INVALIDCALL = 2097320,
    CREATECOMPUTESHADER_OUTOFMEMORY = 2097321,
    CREATECOMPUTESHADER_INVALIDSHADERBYTECODE = 2097322,
    CREATECOMPUTESHADER_INVALIDSHADERTYPE = 2097323,
    CREATECOMPUTESHADER_INVALIDCLASSLINKAGE = 2097324,
    DEVICE_CSSETSHADERRESOURCES_VIEWS_EMPTY = 2097325,
    CSSETCONSTANTBUFFERS_INVALIDBUFFER = 2097326,
    DEVICE_CSSETCONSTANTBUFFERS_BUFFERS_EMPTY = 2097327,
    DEVICE_CSSETSAMPLERS_SAMPLERS_EMPTY = 2097328,
    DEVICE_CSGETSHADERRESOURCES_VIEWS_EMPTY = 2097329,
    DEVICE_CSGETCONSTANTBUFFERS_BUFFERS_EMPTY = 2097330,
    DEVICE_CSGETSAMPLERS_SAMPLERS_EMPTY = 2097331,
    DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 2097332,
    DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 2097333,
    DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 2097334,
    DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 2097335,
    DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED = 2097336,
    DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED = 2097337,
    DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED = 2097338,
    CREATEBUFFER_INVALIDSTRUCTURESTRIDE = 2097339,
    CREATESHADERRESOURCEVIEW_INVALIDFLAGS = 2097340,
    CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE = 2097341,
    CREATEUNORDEREDACCESSVIEW_INVALIDDESC = 2097342,
    CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT = 2097343,
    CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS = 2097344,
    CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT = 2097345,
    DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_HAZARD = 2097346,
    DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_OVERLAPPING_OLD_SLOTS = 2097347,
    DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NO_OP = 2097348,
    CSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT = 2097349,
    PSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT = 2097350,
    CREATEUNORDEREDACCESSVIEW_INVALIDARG_RETURN = 2097351,
    CREATEUNORDEREDACCESSVIEW_OUTOFMEMORY_RETURN = 2097352,
    CREATEUNORDEREDACCESSVIEW_TOOMANYOBJECTS = 2097353,
    DEVICE_CSSETUNORDEREDACCESSVIEWS_HAZARD = 2097354,
    CLEARUNORDEREDACCESSVIEW_DENORMFLUSH = 2097355,
    DEVICE_CSSETUNORDEREDACCESSS_VIEWS_EMPTY = 2097356,
    DEVICE_CSGETUNORDEREDACCESSS_VIEWS_EMPTY = 2097357,
    CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS = 2097358,
    CREATESHADERRESESOURCEVIEW_TOOMANYOBJECTS = 2097359,
    DEVICE_DISPATCHINDIRECT_INVALID_ARG_BUFFER = 2097360,
    DEVICE_DISPATCHINDIRECT_OFFSET_UNALIGNED = 2097361,
    DEVICE_DISPATCHINDIRECT_OFFSET_OVERFLOW = 2097362,
    DEVICE_SETRESOURCEMINLOD_INVALIDCONTEXT = 2097363,
    DEVICE_SETRESOURCEMINLOD_INVALIDRESOURCE = 2097364,
    DEVICE_SETRESOURCEMINLOD_INVALIDMINLOD = 2097365,
    DEVICE_GETRESOURCEMINLOD_INVALIDCONTEXT = 2097366,
    DEVICE_GETRESOURCEMINLOD_INVALIDRESOURCE = 2097367,
    OMSETDEPTHSTENCIL_UNBINDDELETINGOBJECT = 2097368,
    CLEARDEPTHSTENCILVIEW_DEPTH_READONLY = 2097369,
    CLEARDEPTHSTENCILVIEW_STENCIL_READONLY = 2097370,
    CHECKFEATURESUPPORT_FORMAT_DEPRECATED = 2097371,
    DEVICE_UNORDEREDACCESSVIEW_RETURN_TYPE_MISMATCH = 2097372,
    DEVICE_UNORDEREDACCESSVIEW_NOT_SET = 2097373,
    DEVICE_DRAW_UNORDEREDACCESSVIEW_RENDERTARGETVIEW_OVERLAP = 2097374,
    DEVICE_UNORDEREDACCESSVIEW_DIMENSION_MISMATCH = 2097375,
    DEVICE_UNORDEREDACCESSVIEW_APPEND_UNSUPPORTED = 2097376,
    DEVICE_UNORDEREDACCESSVIEW_ATOMICS_UNSUPPORTED = 2097377,
    DEVICE_UNORDEREDACCESSVIEW_STRUCTURE_STRIDE_MISMATCH = 2097378,
    DEVICE_UNORDEREDACCESSVIEW_BUFFER_TYPE_MISMATCH = 2097379,
    DEVICE_UNORDEREDACCESSVIEW_RAW_UNSUPPORTED = 2097380,
    DEVICE_UNORDEREDACCESSVIEW_FORMAT_LD_UNSUPPORTED = 2097381,
    DEVICE_UNORDEREDACCESSVIEW_FORMAT_STORE_UNSUPPORTED = 2097382,
    DEVICE_UNORDEREDACCESSVIEW_ATOMIC_ADD_UNSUPPORTED = 2097383,
    DEVICE_UNORDEREDACCESSVIEW_ATOMIC_BITWISE_OPS_UNSUPPORTED = 2097384,
    DEVICE_UNORDEREDACCESSVIEW_ATOMIC_CMPSTORE_CMPEXCHANGE_UNSUPPORTED = 2097385,
    DEVICE_UNORDEREDACCESSVIEW_ATOMIC_EXCHANGE_UNSUPPORTED = 2097386,
    DEVICE_UNORDEREDACCESSVIEW_ATOMIC_SIGNED_MINMAX_UNSUPPORTED = 2097387,
    DEVICE_UNORDEREDACCESSVIEW_ATOMIC_UNSIGNED_MINMAX_UNSUPPORTED = 2097388,
    DEVICE_DISPATCH_BOUND_RESOURCE_MAPPED = 2097389,
    DEVICE_DISPATCH_THREADGROUPCOUNT_OVERFLOW = 2097390,
    DEVICE_DISPATCH_THREADGROUPCOUNT_ZERO = 2097391,
    DEVICE_SHADERRESOURCEVIEW_STRUCTURE_STRIDE_MISMATCH = 2097392,
    DEVICE_SHADERRESOURCEVIEW_BUFFER_TYPE_MISMATCH = 2097393,
    DEVICE_SHADERRESOURCEVIEW_RAW_UNSUPPORTED = 2097394,
    DEVICE_DISPATCH_UNSUPPORTED = 2097395,
    DEVICE_DISPATCHINDIRECT_UNSUPPORTED = 2097396,
    COPYSTRUCTURECOUNT_INVALIDOFFSET = 2097397,
    COPYSTRUCTURECOUNT_LARGEOFFSET = 2097398,
    COPYSTRUCTURECOUNT_INVALIDDESTINATIONSTATE = 2097399,
    COPYSTRUCTURECOUNT_INVALIDSOURCESTATE = 2097400,
    CHECKFORMATSUPPORT_FORMAT_NOT_SUPPORTED = 2097401,
    DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDVIEW = 2097402,
    DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDOFFSET = 2097403,
    DEVICE_CSSETUNORDEREDACCESSVIEWS_TOOMANYVIEWS = 2097404,
    CLEARUNORDEREDACCESSVIEWFLOAT_INVALIDFORMAT = 2097405,
    DEVICE_UNORDEREDACCESSVIEW_COUNTER_UNSUPPORTED = 2097406,
    REF_WARNING = 2097407,
    DEVICE_DRAW_PIXEL_SHADER_WITHOUT_RTV_OR_DSV = 2097408,
    SHADER_ABORT = 2097409,
    SHADER_MESSAGE = 2097410,
    SHADER_ERROR = 2097411,
    OFFERRESOURCES_INVALIDRESOURCE = 2097412,
    HSSETSAMPLERS_UNBINDDELETINGOBJECT = 2097413,
    DSSETSAMPLERS_UNBINDDELETINGOBJECT = 2097414,
    CSSETSAMPLERS_UNBINDDELETINGOBJECT = 2097415,
    HSSETSHADER_UNBINDDELETINGOBJECT = 2097416,
    DSSETSHADER_UNBINDDELETINGOBJECT = 2097417,
    CSSETSHADER_UNBINDDELETINGOBJECT = 2097418,
    ENQUEUESETEVENT_INVALIDARG_RETURN = 2097419,
    ENQUEUESETEVENT_OUTOFMEMORY_RETURN = 2097420,
    ENQUEUESETEVENT_ACCESSDENIED_RETURN = 2097421,
    DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NUMUAVS_INVALIDRANGE = 2097422,
    USE_OF_ZERO_REFCOUNT_OBJECT = 2097423,
    D3D11_MESSAGES_END = 2097424,
    D3D11_1_MESSAGES_START = 3145728,
    CREATE_VIDEODECODER = 3145729,
    CREATE_VIDEOPROCESSORENUM = 3145730,
    CREATE_VIDEOPROCESSOR = 3145731,
    CREATE_DECODEROUTPUTVIEW = 3145732,
    CREATE_PROCESSORINPUTVIEW = 3145733,
    CREATE_PROCESSOROUTPUTVIEW = 3145734,
    CREATE_DEVICECONTEXTSTATE = 3145735,
    LIVE_VIDEODECODER = 3145736,
    LIVE_VIDEOPROCESSORENUM = 3145737,
    LIVE_VIDEOPROCESSOR = 3145738,
    LIVE_DECODEROUTPUTVIEW = 3145739,
    LIVE_PROCESSORINPUTVIEW = 3145740,
    LIVE_PROCESSOROUTPUTVIEW = 3145741,
    LIVE_DEVICECONTEXTSTATE = 3145742,
    DESTROY_VIDEODECODER = 3145743,
    DESTROY_VIDEOPROCESSORENUM = 3145744,
    DESTROY_VIDEOPROCESSOR = 3145745,
    DESTROY_DECODEROUTPUTVIEW = 3145746,
    DESTROY_PROCESSORINPUTVIEW = 3145747,
    DESTROY_PROCESSOROUTPUTVIEW = 3145748,
    DESTROY_DEVICECONTEXTSTATE = 3145749,
    CREATEDEVICECONTEXTSTATE_INVALIDFLAGS = 3145750,
    CREATEDEVICECONTEXTSTATE_INVALIDFEATURELEVEL = 3145751,
    CREATEDEVICECONTEXTSTATE_FEATURELEVELS_NOT_SUPPORTED = 3145752,
    CREATEDEVICECONTEXTSTATE_INVALIDREFIID = 3145753,
    DEVICE_DISCARDVIEW_INVALIDVIEW = 3145754,
    COPYSUBRESOURCEREGION1_INVALIDCOPYFLAGS = 3145755,
    UPDATESUBRESOURCE1_INVALIDCOPYFLAGS = 3145756,
    CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT = 3145757,
    CREATEVIDEODECODER_OUTOFMEMORY_RETURN = 3145758,
    CREATEVIDEODECODER_NULLPARAM = 3145759,
    CREATEVIDEODECODER_INVALIDFORMAT = 3145760,
    CREATEVIDEODECODER_ZEROWIDTHHEIGHT = 3145761,
    CREATEVIDEODECODER_DRIVER_INVALIDBUFFERSIZE = 3145762,
    CREATEVIDEODECODER_DRIVER_INVALIDBUFFERUSAGE = 3145763,
    GETVIDEODECODERPROFILECOUNT_OUTOFMEMORY = 3145764,
    GETVIDEODECODERPROFILE_NULLPARAM = 3145765,
    GETVIDEODECODERPROFILE_INVALIDINDEX = 3145766,
    GETVIDEODECODERPROFILE_OUTOFMEMORY_RETURN = 3145767,
    CHECKVIDEODECODERFORMAT_NULLPARAM = 3145768,
    CHECKVIDEODECODERFORMAT_OUTOFMEMORY_RETURN = 3145769,
    GETVIDEODECODERCONFIGCOUNT_NULLPARAM = 3145770,
    GETVIDEODECODERCONFIGCOUNT_OUTOFMEMORY_RETURN = 3145771,
    GETVIDEODECODERCONFIG_NULLPARAM = 3145772,
    GETVIDEODECODERCONFIG_INVALIDINDEX = 3145773,
    GETVIDEODECODERCONFIG_OUTOFMEMORY_RETURN = 3145774,
    GETDECODERCREATIONPARAMS_NULLPARAM = 3145775,
    GETDECODERDRIVERHANDLE_NULLPARAM = 3145776,
    GETDECODERBUFFER_NULLPARAM = 3145777,
    GETDECODERBUFFER_INVALIDBUFFER = 3145778,
    GETDECODERBUFFER_INVALIDTYPE = 3145779,
    GETDECODERBUFFER_LOCKED = 3145780,
    RELEASEDECODERBUFFER_NULLPARAM = 3145781,
    RELEASEDECODERBUFFER_INVALIDTYPE = 3145782,
    RELEASEDECODERBUFFER_NOTLOCKED = 3145783,
    DECODERBEGINFRAME_NULLPARAM = 3145784,
    DECODERBEGINFRAME_HAZARD = 3145785,
    DECODERENDFRAME_NULLPARAM = 3145786,
    SUBMITDECODERBUFFERS_NULLPARAM = 3145787,
    SUBMITDECODERBUFFERS_INVALIDTYPE = 3145788,
    DECODEREXTENSION_NULLPARAM = 3145789,
    DECODEREXTENSION_INVALIDRESOURCE = 3145790,
    CREATEVIDEOPROCESSORENUMERATOR_OUTOFMEMORY_RETURN = 3145791,
    CREATEVIDEOPROCESSORENUMERATOR_NULLPARAM = 3145792,
    CREATEVIDEOPROCESSORENUMERATOR_INVALIDFRAMEFORMAT = 3145793,
    CREATEVIDEOPROCESSORENUMERATOR_INVALIDUSAGE = 3145794,
    CREATEVIDEOPROCESSORENUMERATOR_INVALIDINPUTFRAMERATE = 3145795,
    CREATEVIDEOPROCESSORENUMERATOR_INVALIDOUTPUTFRAMERATE = 3145796,
    CREATEVIDEOPROCESSORENUMERATOR_INVALIDWIDTHHEIGHT = 3145797,
    GETVIDEOPROCESSORCONTENTDESC_NULLPARAM = 3145798,
    CHECKVIDEOPROCESSORFORMAT_NULLPARAM = 3145799,
    GETVIDEOPROCESSORCAPS_NULLPARAM = 3145800,
    GETVIDEOPROCESSORRATECONVERSIONCAPS_NULLPARAM = 3145801,
    GETVIDEOPROCESSORRATECONVERSIONCAPS_INVALIDINDEX = 3145802,
    GETVIDEOPROCESSORCUSTOMRATE_NULLPARAM = 3145803,
    GETVIDEOPROCESSORCUSTOMRATE_INVALIDINDEX = 3145804,
    GETVIDEOPROCESSORFILTERRANGE_NULLPARAM = 3145805,
    GETVIDEOPROCESSORFILTERRANGE_UNSUPPORTED = 3145806,
    CREATEVIDEOPROCESSOR_OUTOFMEMORY_RETURN = 3145807,
    CREATEVIDEOPROCESSOR_NULLPARAM = 3145808,
    VIDEOPROCESSORSETOUTPUTTARGETRECT_NULLPARAM = 3145809,
    VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_NULLPARAM = 3145810,
    VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_INVALIDALPHA = 3145811,
    VIDEOPROCESSORSETOUTPUTCOLORSPACE_NULLPARAM = 3145812,
    VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_NULLPARAM = 3145813,
    VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_UNSUPPORTED = 3145814,
    VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDSTREAM = 3145815,
    VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDFILLMODE = 3145816,
    VIDEOPROCESSORSETOUTPUTCONSTRICTION_NULLPARAM = 3145817,
    VIDEOPROCESSORSETOUTPUTSTEREOMODE_NULLPARAM = 3145818,
    VIDEOPROCESSORSETOUTPUTSTEREOMODE_UNSUPPORTED = 3145819,
    VIDEOPROCESSORSETOUTPUTEXTENSION_NULLPARAM = 3145820,
    VIDEOPROCESSORGETOUTPUTTARGETRECT_NULLPARAM = 3145821,
    VIDEOPROCESSORGETOUTPUTBACKGROUNDCOLOR_NULLPARAM = 3145822,
    VIDEOPROCESSORGETOUTPUTCOLORSPACE_NULLPARAM = 3145823,
    VIDEOPROCESSORGETOUTPUTALPHAFILLMODE_NULLPARAM = 3145824,
    VIDEOPROCESSORGETOUTPUTCONSTRICTION_NULLPARAM = 3145825,
    VIDEOPROCESSORSETOUTPUTCONSTRICTION_UNSUPPORTED = 3145826,
    VIDEOPROCESSORSETOUTPUTCONSTRICTION_INVALIDSIZE = 3145827,
    VIDEOPROCESSORGETOUTPUTSTEREOMODE_NULLPARAM = 3145828,
    VIDEOPROCESSORGETOUTPUTEXTENSION_NULLPARAM = 3145829,
    VIDEOPROCESSORSETSTREAMFRAMEFORMAT_NULLPARAM = 3145830,
    VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDFORMAT = 3145831,
    VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDSTREAM = 3145832,
    VIDEOPROCESSORSETSTREAMCOLORSPACE_NULLPARAM = 3145833,
    VIDEOPROCESSORSETSTREAMCOLORSPACE_INVALIDSTREAM = 3145834,
    VIDEOPROCESSORSETSTREAMOUTPUTRATE_NULLPARAM = 3145835,
    VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDRATE = 3145836,
    VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDFLAG = 3145837,
    VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDSTREAM = 3145838,
    VIDEOPROCESSORSETSTREAMSOURCERECT_NULLPARAM = 3145839,
    VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDSTREAM = 3145840,
    VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDRECT = 3145841,
    VIDEOPROCESSORSETSTREAMDESTRECT_NULLPARAM = 3145842,
    VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDSTREAM = 3145843,
    VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDRECT = 3145844,
    VIDEOPROCESSORSETSTREAMALPHA_NULLPARAM = 3145845,
    VIDEOPROCESSORSETSTREAMALPHA_INVALIDSTREAM = 3145846,
    VIDEOPROCESSORSETSTREAMALPHA_INVALIDALPHA = 3145847,
    VIDEOPROCESSORSETSTREAMPALETTE_NULLPARAM = 3145848,
    VIDEOPROCESSORSETSTREAMPALETTE_INVALIDSTREAM = 3145849,
    VIDEOPROCESSORSETSTREAMPALETTE_INVALIDCOUNT = 3145850,
    VIDEOPROCESSORSETSTREAMPALETTE_INVALIDALPHA = 3145851,
    VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_NULLPARAM = 3145852,
    VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDSTREAM = 3145853,
    VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDRATIO = 3145854,
    VIDEOPROCESSORSETSTREAMLUMAKEY_NULLPARAM = 3145855,
    VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDSTREAM = 3145856,
    VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDRANGE = 3145857,
    VIDEOPROCESSORSETSTREAMLUMAKEY_UNSUPPORTED = 3145858,
    VIDEOPROCESSORSETSTREAMSTEREOFORMAT_NULLPARAM = 3145859,
    VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDSTREAM = 3145860,
    VIDEOPROCESSORSETSTREAMSTEREOFORMAT_UNSUPPORTED = 3145861,
    VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FLIPUNSUPPORTED = 3145862,
    VIDEOPROCESSORSETSTREAMSTEREOFORMAT_MONOOFFSETUNSUPPORTED = 3145863,
    VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FORMATUNSUPPORTED = 3145864,
    VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDFORMAT = 3145865,
    VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_NULLPARAM = 3145866,
    VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM = 3145867,
    VIDEOPROCESSORSETSTREAMFILTER_NULLPARAM = 3145868,
    VIDEOPROCESSORSETSTREAMFILTER_INVALIDSTREAM = 3145869,
    VIDEOPROCESSORSETSTREAMFILTER_INVALIDFILTER = 3145870,
    VIDEOPROCESSORSETSTREAMFILTER_UNSUPPORTED = 3145871,
    VIDEOPROCESSORSETSTREAMFILTER_INVALIDLEVEL = 3145872,
    VIDEOPROCESSORSETSTREAMEXTENSION_NULLPARAM = 3145873,
    VIDEOPROCESSORSETSTREAMEXTENSION_INVALIDSTREAM = 3145874,
    VIDEOPROCESSORGETSTREAMFRAMEFORMAT_NULLPARAM = 3145875,
    VIDEOPROCESSORGETSTREAMCOLORSPACE_NULLPARAM = 3145876,
    VIDEOPROCESSORGETSTREAMOUTPUTRATE_NULLPARAM = 3145877,
    VIDEOPROCESSORGETSTREAMSOURCERECT_NULLPARAM = 3145878,
    VIDEOPROCESSORGETSTREAMDESTRECT_NULLPARAM = 3145879,
    VIDEOPROCESSORGETSTREAMALPHA_NULLPARAM = 3145880,
    VIDEOPROCESSORGETSTREAMPALETTE_NULLPARAM = 3145881,
    VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_NULLPARAM = 3145882,
    VIDEOPROCESSORGETSTREAMLUMAKEY_NULLPARAM = 3145883,
    VIDEOPROCESSORGETSTREAMSTEREOFORMAT_NULLPARAM = 3145884,
    VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_NULLPARAM = 3145885,
    VIDEOPROCESSORGETSTREAMFILTER_NULLPARAM = 3145886,
    VIDEOPROCESSORGETSTREAMEXTENSION_NULLPARAM = 3145887,
    VIDEOPROCESSORGETSTREAMEXTENSION_INVALIDSTREAM = 3145888,
    VIDEOPROCESSORBLT_NULLPARAM = 3145889,
    VIDEOPROCESSORBLT_INVALIDSTREAMCOUNT = 3145890,
    VIDEOPROCESSORBLT_TARGETRECT = 3145891,
    VIDEOPROCESSORBLT_INVALIDOUTPUT = 3145892,
    VIDEOPROCESSORBLT_INVALIDPASTFRAMES = 3145893,
    VIDEOPROCESSORBLT_INVALIDFUTUREFRAMES = 3145894,
    VIDEOPROCESSORBLT_INVALIDSOURCERECT = 3145895,
    VIDEOPROCESSORBLT_INVALIDDESTRECT = 3145896,
    VIDEOPROCESSORBLT_INVALIDINPUTRESOURCE = 3145897,
    VIDEOPROCESSORBLT_INVALIDARRAYSIZE = 3145898,
    VIDEOPROCESSORBLT_INVALIDARRAY = 3145899,
    VIDEOPROCESSORBLT_RIGHTEXPECTED = 3145900,
    VIDEOPROCESSORBLT_RIGHTNOTEXPECTED = 3145901,
    VIDEOPROCESSORBLT_STEREONOTENABLED = 3145902,
    VIDEOPROCESSORBLT_INVALIDRIGHTRESOURCE = 3145903,
    VIDEOPROCESSORBLT_NOSTEREOSTREAMS = 3145904,
    VIDEOPROCESSORBLT_INPUTHAZARD = 3145905,
    VIDEOPROCESSORBLT_OUTPUTHAZARD = 3145906,
    CREATEVIDEODECODEROUTPUTVIEW_OUTOFMEMORY_RETURN = 3145907,
    CREATEVIDEODECODEROUTPUTVIEW_NULLPARAM = 3145908,
    CREATEVIDEODECODEROUTPUTVIEW_INVALIDTYPE = 3145909,
    CREATEVIDEODECODEROUTPUTVIEW_INVALIDBIND = 3145910,
    CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEDFORMAT = 3145911,
    CREATEVIDEODECODEROUTPUTVIEW_INVALIDMIP = 3145912,
    CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEMIP = 3145913,
    CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAYSIZE = 3145914,
    CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAY = 3145915,
    CREATEVIDEODECODEROUTPUTVIEW_INVALIDDIMENSION = 3145916,
    CREATEVIDEOPROCESSORINPUTVIEW_OUTOFMEMORY_RETURN = 3145917,
    CREATEVIDEOPROCESSORINPUTVIEW_NULLPARAM = 3145918,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDTYPE = 3145919,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDBIND = 3145920,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMISC = 3145921,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDUSAGE = 3145922,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFORMAT = 3145923,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFOURCC = 3145924,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMIP = 3145925,
    CREATEVIDEOPROCESSORINPUTVIEW_UNSUPPORTEDMIP = 3145926,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAYSIZE = 3145927,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAY = 3145928,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDDIMENSION = 3145929,
    CREATEVIDEOPROCESSOROUTPUTVIEW_OUTOFMEMORY_RETURN = 3145930,
    CREATEVIDEOPROCESSOROUTPUTVIEW_NULLPARAM = 3145931,
    CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDTYPE = 3145932,
    CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDBIND = 3145933,
    CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDFORMAT = 3145934,
    CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMIP = 3145935,
    CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDMIP = 3145936,
    CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDARRAY = 3145937,
    CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDARRAY = 3145938,
    CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDDIMENSION = 3145939,
    DEVICE_DRAW_INVALID_USE_OF_FORCED_SAMPLE_COUNT = 3145940,
    CREATEBLENDSTATE_INVALIDLOGICOPS = 3145941,
    CREATESHADERRESOURCEVIEW_INVALIDDARRAYWITHDECODER = 3145942,
    CREATEUNORDEREDACCESSVIEW_INVALIDDARRAYWITHDECODER = 3145943,
    CREATERENDERTARGETVIEW_INVALIDDARRAYWITHDECODER = 3145944,
    DEVICE_LOCKEDOUT_INTERFACE = 3145945,
    REF_WARNING_ATOMIC_INCONSISTENT = 3145946,
    REF_WARNING_READING_UNINITIALIZED_RESOURCE = 3145947,
    REF_WARNING_RAW_HAZARD = 3145948,
    REF_WARNING_WAR_HAZARD = 3145949,
    REF_WARNING_WAW_HAZARD = 3145950,
    CREATECRYPTOSESSION_NULLPARAM = 3145951,
    CREATECRYPTOSESSION_OUTOFMEMORY_RETURN = 3145952,
    GETCRYPTOTYPE_NULLPARAM = 3145953,
    GETDECODERPROFILE_NULLPARAM = 3145954,
    GETCRYPTOSESSIONCERTIFICATESIZE_NULLPARAM = 3145955,
    GETCRYPTOSESSIONCERTIFICATE_NULLPARAM = 3145956,
    GETCRYPTOSESSIONCERTIFICATE_WRONGSIZE = 3145957,
    GETCRYPTOSESSIONHANDLE_WRONGSIZE = 3145958,
    NEGOTIATECRPYTOSESSIONKEYEXCHANGE_NULLPARAM = 3145959,
    ENCRYPTIONBLT_UNSUPPORTED = 3145960,
    ENCRYPTIONBLT_NULLPARAM = 3145961,
    ENCRYPTIONBLT_SRC_WRONGDEVICE = 3145962,
    ENCRYPTIONBLT_DST_WRONGDEVICE = 3145963,
    ENCRYPTIONBLT_FORMAT_MISMATCH = 3145964,
    ENCRYPTIONBLT_SIZE_MISMATCH = 3145965,
    ENCRYPTIONBLT_SRC_MULTISAMPLED = 3145966,
    ENCRYPTIONBLT_DST_NOT_STAGING = 3145967,
    ENCRYPTIONBLT_SRC_MAPPED = 3145968,
    ENCRYPTIONBLT_DST_MAPPED = 3145969,
    ENCRYPTIONBLT_SRC_OFFERED = 3145970,
    ENCRYPTIONBLT_DST_OFFERED = 3145971,
    ENCRYPTIONBLT_SRC_CONTENT_UNDEFINED = 3145972,
    DECRYPTIONBLT_UNSUPPORTED = 3145973,
    DECRYPTIONBLT_NULLPARAM = 3145974,
    DECRYPTIONBLT_SRC_WRONGDEVICE = 3145975,
    DECRYPTIONBLT_DST_WRONGDEVICE = 3145976,
    DECRYPTIONBLT_FORMAT_MISMATCH = 3145977,
    DECRYPTIONBLT_SIZE_MISMATCH = 3145978,
    DECRYPTIONBLT_DST_MULTISAMPLED = 3145979,
    DECRYPTIONBLT_SRC_NOT_STAGING = 3145980,
    DECRYPTIONBLT_DST_NOT_RENDER_TARGET = 3145981,
    DECRYPTIONBLT_SRC_MAPPED = 3145982,
    DECRYPTIONBLT_DST_MAPPED = 3145983,
    DECRYPTIONBLT_SRC_OFFERED = 3145984,
    DECRYPTIONBLT_DST_OFFERED = 3145985,
    DECRYPTIONBLT_SRC_CONTENT_UNDEFINED = 3145986,
    STARTSESSIONKEYREFRESH_NULLPARAM = 3145987,
    STARTSESSIONKEYREFRESH_INVALIDSIZE = 3145988,
    FINISHSESSIONKEYREFRESH_NULLPARAM = 3145989,
    GETENCRYPTIONBLTKEY_NULLPARAM = 3145990,
    GETENCRYPTIONBLTKEY_INVALIDSIZE = 3145991,
    GETCONTENTPROTECTIONCAPS_NULLPARAM = 3145992,
    CHECKCRYPTOKEYEXCHANGE_NULLPARAM = 3145993,
    CHECKCRYPTOKEYEXCHANGE_INVALIDINDEX = 3145994,
    CREATEAUTHENTICATEDCHANNEL_NULLPARAM = 3145995,
    CREATEAUTHENTICATEDCHANNEL_UNSUPPORTED = 3145996,
    CREATEAUTHENTICATEDCHANNEL_INVALIDTYPE = 3145997,
    CREATEAUTHENTICATEDCHANNEL_OUTOFMEMORY_RETURN = 3145998,
    GETAUTHENTICATEDCHANNELCERTIFICATESIZE_INVALIDCHANNEL = 3145999,
    GETAUTHENTICATEDCHANNELCERTIFICATESIZE_NULLPARAM = 3146000,
    GETAUTHENTICATEDCHANNELCERTIFICATE_INVALIDCHANNEL = 3146001,
    GETAUTHENTICATEDCHANNELCERTIFICATE_NULLPARAM = 3146002,
    GETAUTHENTICATEDCHANNELCERTIFICATE_WRONGSIZE = 3146003,
    NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDCHANNEL = 3146004,
    NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_NULLPARAM = 3146005,
    QUERYAUTHENTICATEDCHANNEL_NULLPARAM = 3146006,
    QUERYAUTHENTICATEDCHANNEL_WRONGCHANNEL = 3146007,
    QUERYAUTHENTICATEDCHANNEL_UNSUPPORTEDQUERY = 3146008,
    QUERYAUTHENTICATEDCHANNEL_WRONGSIZE = 3146009,
    QUERYAUTHENTICATEDCHANNEL_INVALIDPROCESSINDEX = 3146010,
    CONFIGUREAUTHENTICATEDCHANNEL_NULLPARAM = 3146011,
    CONFIGUREAUTHENTICATEDCHANNEL_WRONGCHANNEL = 3146012,
    CONFIGUREAUTHENTICATEDCHANNEL_UNSUPPORTEDCONFIGURE = 3146013,
    CONFIGUREAUTHENTICATEDCHANNEL_WRONGSIZE = 3146014,
    CONFIGUREAUTHENTICATEDCHANNEL_INVALIDPROCESSIDTYPE = 3146015,
    VSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 3146016,
    DSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 3146017,
    HSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 3146018,
    GSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 3146019,
    PSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 3146020,
    CSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT = 3146021,
    NEGOTIATECRPYTOSESSIONKEYEXCHANGE_INVALIDSIZE = 3146022,
    NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDSIZE = 3146023,
    OFFERRESOURCES_INVALIDPRIORITY = 3146024,
    GETCRYPTOSESSIONHANDLE_OUTOFMEMORY = 3146025,
    ACQUIREHANDLEFORCAPTURE_NULLPARAM = 3146026,
    ACQUIREHANDLEFORCAPTURE_INVALIDTYPE = 3146027,
    ACQUIREHANDLEFORCAPTURE_INVALIDBIND = 3146028,
    ACQUIREHANDLEFORCAPTURE_INVALIDARRAY = 3146029,
    VIDEOPROCESSORSETSTREAMROTATION_NULLPARAM = 3146030,
    VIDEOPROCESSORSETSTREAMROTATION_INVALIDSTREAM = 3146031,
    VIDEOPROCESSORSETSTREAMROTATION_INVALID = 3146032,
    VIDEOPROCESSORSETSTREAMROTATION_UNSUPPORTED = 3146033,
    VIDEOPROCESSORGETSTREAMROTATION_NULLPARAM = 3146034,
    DEVICE_CLEARVIEW_INVALIDVIEW = 3146035,
    DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 3146036,
    DEVICE_CREATEVERTEXSHADER_SHADEREXTENSIONSNOTSUPPORTED = 3146037,
    DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 3146038,
    DEVICE_CREATEHULLSHADER_SHADEREXTENSIONSNOTSUPPORTED = 3146039,
    DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 3146040,
    DEVICE_CREATEDOMAINSHADER_SHADEREXTENSIONSNOTSUPPORTED = 3146041,
    DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 3146042,
    DEVICE_CREATEGEOMETRYSHADER_SHADEREXTENSIONSNOTSUPPORTED = 3146043,
    DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED = 3146044,
    DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_SHADEREXTENSIONSNOTSUPPORTED = 3146045,
    DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 3146046,
    DEVICE_CREATEPIXELSHADER_SHADEREXTENSIONSNOTSUPPORTED = 3146047,
    DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED = 3146048,
    DEVICE_CREATECOMPUTESHADER_SHADEREXTENSIONSNOTSUPPORTED = 3146049,
    DEVICE_SHADER_LINKAGE_MINPRECISION = 3146050,
    VIDEOPROCESSORSETSTREAMALPHA_UNSUPPORTED = 3146051,
    VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_UNSUPPORTED = 3146052,
    DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED = 3146053,
    DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED = 3146054,
    DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED = 3146055,
    DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED = 3146056,
    DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED = 3146057,
    DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED = 3146058,
    DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED = 3146059,
    DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_INVALIDOFFSET = 3146060,
    DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_TOOMANYVIEWS = 3146061,
    DEVICE_CLEARVIEW_NOTSUPPORTED = 3146062,
    SWAPDEVICECONTEXTSTATE_NOTSUPPORTED = 3146063,
    UPDATESUBRESOURCE_PREFERUPDATESUBRESOURCE1 = 3146064,
    GETDC_INACCESSIBLE = 3146065,
    DEVICE_CLEARVIEW_INVALIDRECT = 3146066,
    DEVICE_DRAW_SAMPLE_MASK_IGNORED_ON_FL9 = 3146067,
    DEVICE_OPEN_SHARED_RESOURCE1_NOT_SUPPORTED = 3146068,
    DEVICE_OPEN_SHARED_RESOURCE_BY_NAME_NOT_SUPPORTED = 3146069,
    ENQUEUESETEVENT_NOT_SUPPORTED = 3146070,
    OFFERRELEASE_NOT_SUPPORTED = 3146071,
    OFFERRESOURCES_INACCESSIBLE = 3146072,
    CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMSAA = 3146073,
    CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMSAA = 3146074,
    DEVICE_CLEARVIEW_INVALIDSOURCERECT = 3146075,
    DEVICE_CLEARVIEW_EMPTYRECT = 3146076,
    UPDATESUBRESOURCE_EMPTYDESTBOX = 3146077,
    COPYSUBRESOURCEREGION_EMPTYSOURCEBOX = 3146078,
    DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS = 3146079,
    DEVICE_DRAW_DEPTHSTENCILVIEW_NOT_SET = 3146080,
    DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET = 3146081,
    DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET_DUE_TO_FLIP_PRESENT = 3146082,
    DEVICE_UNORDEREDACCESSVIEW_NOT_SET_DUE_TO_FLIP_PRESENT = 3146083,
    GETDATAFORNEWHARDWAREKEY_NULLPARAM = 3146084,
    CHECKCRYPTOSESSIONSTATUS_NULLPARAM = 3146085,
    GETCRYPTOSESSIONPRIVATEDATASIZE_NULLPARAM = 3146086,
    GETVIDEODECODERCAPS_NULLPARAM = 3146087,
    GETVIDEODECODERCAPS_ZEROWIDTHHEIGHT = 3146088,
    CHECKVIDEODECODERDOWNSAMPLING_NULLPARAM = 3146089,
    CHECKVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE = 3146090,
    CHECKVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT = 3146091,
    VIDEODECODERENABLEDOWNSAMPLING_NULLPARAM = 3146092,
    VIDEODECODERENABLEDOWNSAMPLING_UNSUPPORTED = 3146093,
    VIDEODECODERUPDATEDOWNSAMPLING_NULLPARAM = 3146094,
    VIDEODECODERUPDATEDOWNSAMPLING_UNSUPPORTED = 3146095,
    CHECKVIDEOPROCESSORFORMATCONVERSION_NULLPARAM = 3146096,
    VIDEOPROCESSORSETOUTPUTCOLORSPACE1_NULLPARAM = 3146097,
    VIDEOPROCESSORGETOUTPUTCOLORSPACE1_NULLPARAM = 3146098,
    VIDEOPROCESSORSETSTREAMCOLORSPACE1_NULLPARAM = 3146099,
    VIDEOPROCESSORSETSTREAMCOLORSPACE1_INVALIDSTREAM = 3146100,
    VIDEOPROCESSORSETSTREAMMIRROR_NULLPARAM = 3146101,
    VIDEOPROCESSORSETSTREAMMIRROR_INVALIDSTREAM = 3146102,
    VIDEOPROCESSORSETSTREAMMIRROR_UNSUPPORTED = 3146103,
    VIDEOPROCESSORGETSTREAMCOLORSPACE1_NULLPARAM = 3146104,
    VIDEOPROCESSORGETSTREAMMIRROR_NULLPARAM = 3146105,
    RECOMMENDVIDEODECODERDOWNSAMPLING_NULLPARAM = 3146106,
    RECOMMENDVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE = 3146107,
    RECOMMENDVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT = 3146108,
    VIDEOPROCESSORSETOUTPUTSHADERUSAGE_NULLPARAM = 3146109,
    VIDEOPROCESSORGETOUTPUTSHADERUSAGE_NULLPARAM = 3146110,
    VIDEOPROCESSORGETBEHAVIORHINTS_NULLPARAM = 3146111,
    VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSTREAMCOUNT = 3146112,
    VIDEOPROCESSORGETBEHAVIORHINTS_TARGETRECT = 3146113,
    VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSOURCERECT = 3146114,
    VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDDESTRECT = 3146115,
    GETCRYPTOSESSIONPRIVATEDATASIZE_INVALID_KEY_EXCHANGE_TYPE = 3146116,
    D3D11_1_MESSAGES_END = 3146117,
    D3D11_2_MESSAGES_START = 3146118,
    CREATEBUFFER_INVALIDUSAGE = 3146119,
    CREATETEXTURE1D_INVALIDUSAGE = 3146120,
    CREATETEXTURE2D_INVALIDUSAGE = 3146121,
    CREATEINPUTLAYOUT_LEVEL9_STEPRATE_NOT_1 = 3146122,
    CREATEINPUTLAYOUT_LEVEL9_INSTANCING_NOT_SUPPORTED = 3146123,
    UPDATETILEMAPPINGS_INVALID_PARAMETER = 3146124,
    COPYTILEMAPPINGS_INVALID_PARAMETER = 3146125,
    COPYTILES_INVALID_PARAMETER = 3146126,
    UPDATETILES_INVALID_PARAMETER = 3146127,
    RESIZETILEPOOL_INVALID_PARAMETER = 3146128,
    TILEDRESOURCEBARRIER_INVALID_PARAMETER = 3146129,
    NULL_TILE_MAPPING_ACCESS_WARNING = 3146130,
    NULL_TILE_MAPPING_ACCESS_ERROR = 3146131,
    DIRTY_TILE_MAPPING_ACCESS = 3146132,
    DUPLICATE_TILE_MAPPINGS_IN_COVERED_AREA = 3146133,
    TILE_MAPPINGS_IN_COVERED_AREA_DUPLICATED_OUTSIDE = 3146134,
    TILE_MAPPINGS_SHARED_BETWEEN_INCOMPATIBLE_RESOURCES = 3146135,
    TILE_MAPPINGS_SHARED_BETWEEN_INPUT_AND_OUTPUT = 3146136,
    CHECKMULTISAMPLEQUALITYLEVELS_INVALIDFLAGS = 3146137,
    GETRESOURCETILING_NONTILED_RESOURCE = 3146138,
    RESIZETILEPOOL_SHRINK_WITH_MAPPINGS_STILL_DEFINED_PAST_END = 3146139,
    NEED_TO_CALL_TILEDRESOURCEBARRIER = 3146140,
    CREATEDEVICE_INVALIDARGS = 3146141,
    CREATEDEVICE_WARNING = 3146142,
    CLEARUNORDEREDACCESSVIEWUINT_HAZARD = 3146143,
    CLEARUNORDEREDACCESSVIEWFLOAT_HAZARD = 3146144,
    TILED_RESOURCE_TIER_1_BUFFER_TEXTURE_MISMATCH = 3146145,
    CREATE_CRYPTOSESSION = 3146146,
    CREATE_AUTHENTICATEDCHANNEL = 3146147,
    LIVE_CRYPTOSESSION = 3146148,
    LIVE_AUTHENTICATEDCHANNEL = 3146149,
    DESTROY_CRYPTOSESSION = 3146150,
    DESTROY_AUTHENTICATEDCHANNEL = 3146151,
    D3D11_2_MESSAGES_END = 3146152,
    D3D11_3_MESSAGES_START = 3146153,
    CREATERASTERIZERSTATE_INVALID_CONSERVATIVERASTERMODE = 3146154,
    DEVICE_DRAW_INVALID_SYSTEMVALUE = 3146155,
    CREATEQUERYORPREDICATE_INVALIDCONTEXTTYPE = 3146156,
    CREATEQUERYORPREDICATE_DECODENOTSUPPORTED = 3146157,
    CREATEQUERYORPREDICATE_ENCODENOTSUPPORTED = 3146158,
    CREATESHADERRESOURCEVIEW_INVALIDPLANEINDEX = 3146159,
    CREATESHADERRESOURCEVIEW_INVALIDVIDEOPLANEINDEX = 3146160,
    CREATESHADERRESOURCEVIEW_AMBIGUOUSVIDEOPLANEINDEX = 3146161,
    CREATERENDERTARGETVIEW_INVALIDPLANEINDEX = 3146162,
    CREATERENDERTARGETVIEW_INVALIDVIDEOPLANEINDEX = 3146163,
    CREATERENDERTARGETVIEW_AMBIGUOUSVIDEOPLANEINDEX = 3146164,
    CREATEUNORDEREDACCESSVIEW_INVALIDPLANEINDEX = 3146165,
    CREATEUNORDEREDACCESSVIEW_INVALIDVIDEOPLANEINDEX = 3146166,
    CREATEUNORDEREDACCESSVIEW_AMBIGUOUSVIDEOPLANEINDEX = 3146167,
    JPEGDECODE_INVALIDSCANDATAOFFSET = 3146168,
    JPEGDECODE_NOTSUPPORTED = 3146169,
    JPEGDECODE_DIMENSIONSTOOLARGE = 3146170,
    JPEGDECODE_INVALIDCOMPONENTS = 3146171,
    JPEGDECODE_DESTINATIONNOT2D = 3146172,
    JPEGDECODE_TILEDRESOURCESUNSUPPORTED = 3146173,
    JPEGDECODE_GUARDRECTSUNSUPPORTED = 3146174,
    JPEGDECODE_FORMATUNSUPPORTED = 3146175,
    JPEGDECODE_INVALIDSUBRESOURCE = 3146176,
    JPEGDECODE_INVALIDMIPLEVEL = 3146177,
    JPEGDECODE_EMPTYDESTBOX = 3146178,
    JPEGDECODE_DESTBOXNOT2D = 3146179,
    JPEGDECODE_DESTBOXNOTSUB = 3146180,
    JPEGDECODE_DESTBOXESINTERSECT = 3146181,
    JPEGDECODE_XSUBSAMPLEMISMATCH = 3146182,
    JPEGDECODE_YSUBSAMPLEMISMATCH = 3146183,
    JPEGDECODE_XSUBSAMPLEODD = 3146184,
    JPEGDECODE_YSUBSAMPLEODD = 3146185,
    JPEGDECODE_OUTPUTDIMENSIONSTOOLARGE = 3146186,
    JPEGDECODE_NONPOW2SCALEUNSUPPORTED = 3146187,
    JPEGDECODE_FRACTIONALDOWNSCALETOLARGE = 3146188,
    JPEGDECODE_CHROMASIZEMISMATCH = 3146189,
    JPEGDECODE_LUMACHROMASIZEMISMATCH = 3146190,
    JPEGDECODE_INVALIDNUMDESTINATIONS = 3146191,
    JPEGDECODE_SUBBOXUNSUPPORTED = 3146192,
    JPEGDECODE_1DESTUNSUPPORTEDFORMAT = 3146193,
    JPEGDECODE_3DESTUNSUPPORTEDFORMAT = 3146194,
    JPEGDECODE_SCALEUNSUPPORTED = 3146195,
    JPEGDECODE_INVALIDSOURCESIZE = 3146196,
    JPEGDECODE_INVALIDCOPYFLAGS = 3146197,
    JPEGDECODE_HAZARD = 3146198,
    JPEGDECODE_UNSUPPORTEDSRCBUFFERUSAGE = 3146199,
    JPEGDECODE_UNSUPPORTEDSRCBUFFERMISCFLAGS = 3146200,
    JPEGDECODE_UNSUPPORTEDDSTTEXTUREUSAGE = 3146201,
    JPEGDECODE_BACKBUFFERNOTSUPPORTED = 3146202,
    JPEGDECODE_UNSUPPRTEDCOPYFLAGS = 3146203,
    JPEGENCODE_NOTSUPPORTED = 3146204,
    JPEGENCODE_INVALIDSCANDATAOFFSET = 3146205,
    JPEGENCODE_INVALIDCOMPONENTS = 3146206,
    JPEGENCODE_SOURCENOT2D = 3146207,
    JPEGENCODE_TILEDRESOURCESUNSUPPORTED = 3146208,
    JPEGENCODE_GUARDRECTSUNSUPPORTED = 3146209,
    JPEGENCODE_XSUBSAMPLEMISMATCH = 3146210,
    JPEGENCODE_YSUBSAMPLEMISMATCH = 3146211,
    JPEGENCODE_FORMATUNSUPPORTED = 3146212,
    JPEGENCODE_INVALIDSUBRESOURCE = 3146213,
    JPEGENCODE_INVALIDMIPLEVEL = 3146214,
    JPEGENCODE_DIMENSIONSTOOLARGE = 3146215,
    JPEGENCODE_HAZARD = 3146216,
    JPEGENCODE_UNSUPPORTEDDSTBUFFERUSAGE = 3146217,
    JPEGENCODE_UNSUPPORTEDDSTBUFFERMISCFLAGS = 3146218,
    JPEGENCODE_UNSUPPORTEDSRCTEXTUREUSAGE = 3146219,
    JPEGENCODE_BACKBUFFERNOTSUPPORTED = 3146220,
    CREATEQUERYORPREDICATE_UNSUPPORTEDCONTEXTTTYPEFORQUERY = 3146221,
    FLUSH1_INVALIDCONTEXTTYPE = 3146222,
    DEVICE_SETHARDWAREPROTECTION_INVALIDCONTEXT = 3146223,
    VIDEOPROCESSORSETOUTPUTHDRMETADATA_NULLPARAM = 3146224,
    VIDEOPROCESSORSETOUTPUTHDRMETADATA_INVALIDSIZE = 3146225,
    VIDEOPROCESSORGETOUTPUTHDRMETADATA_NULLPARAM = 3146226,
    VIDEOPROCESSORGETOUTPUTHDRMETADATA_INVALIDSIZE = 3146227,
    VIDEOPROCESSORSETSTREAMHDRMETADATA_NULLPARAM = 3146228,
    VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSTREAM = 3146229,
    VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSIZE = 3146230,
    VIDEOPROCESSORGETSTREAMHDRMETADATA_NULLPARAM = 3146231,
    VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSTREAM = 3146232,
    VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSIZE = 3146233,
    VIDEOPROCESSORGETSTREAMFRAMEFORMAT_INVALIDSTREAM = 3146234,
    VIDEOPROCESSORGETSTREAMCOLORSPACE_INVALIDSTREAM = 3146235,
    VIDEOPROCESSORGETSTREAMOUTPUTRATE_INVALIDSTREAM = 3146236,
    VIDEOPROCESSORGETSTREAMSOURCERECT_INVALIDSTREAM = 3146237,
    VIDEOPROCESSORGETSTREAMDESTRECT_INVALIDSTREAM = 3146238,
    VIDEOPROCESSORGETSTREAMALPHA_INVALIDSTREAM = 3146239,
    VIDEOPROCESSORGETSTREAMPALETTE_INVALIDSTREAM = 3146240,
    VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_INVALIDSTREAM = 3146241,
    VIDEOPROCESSORGETSTREAMLUMAKEY_INVALIDSTREAM = 3146242,
    VIDEOPROCESSORGETSTREAMSTEREOFORMAT_INVALIDSTREAM = 3146243,
    VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM = 3146244,
    VIDEOPROCESSORGETSTREAMFILTER_INVALIDSTREAM = 3146245,
    VIDEOPROCESSORGETSTREAMROTATION_INVALIDSTREAM = 3146246,
    VIDEOPROCESSORGETSTREAMCOLORSPACE1_INVALIDSTREAM = 3146247,
    VIDEOPROCESSORGETSTREAMMIRROR_INVALIDSTREAM = 3146248,
    CREATE_FENCE = 3146249,
    LIVE_FENCE = 3146250,
    DESTROY_FENCE = 3146251,
    CREATE_SYNCHRONIZEDCHANNEL = 3146252,
    LIVE_SYNCHRONIZEDCHANNEL = 3146253,
    DESTROY_SYNCHRONIZEDCHANNEL = 3146254,
    CREATEFENCE_INVALIDFLAGS = 3146255,
    D3D11_3_MESSAGES_END = 3146256,
    D3D11_5_MESSAGES_START = 3146257,
    NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_INVALIDKEYEXCHANGETYPE = 3146258,
    NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_NOT_SUPPORTED = 3146259,
    DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT_COUNT = 3146260,
    DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT = 3146261,
    DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_SIZE = 3146262,
    DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_USAGE = 3146263,
    DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_MISC_FLAGS = 3146264,
    DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_OFFSET = 3146265,
    CREATE_TRACKEDWORKLOAD = 3146266,
    LIVE_TRACKEDWORKLOAD = 3146267,
    DESTROY_TRACKEDWORKLOAD = 3146268,
    CREATE_TRACKED_WORKLOAD_NULLPARAM = 3146269,
    CREATE_TRACKED_WORKLOAD_INVALID_MAX_INSTANCES = 3146270,
    CREATE_TRACKED_WORKLOAD_INVALID_DEADLINE_TYPE = 3146271,
    CREATE_TRACKED_WORKLOAD_INVALID_ENGINE_TYPE = 3146272,
    MULTIPLE_TRACKED_WORKLOADS = 3146273,
    MULTIPLE_TRACKED_WORKLOAD_PAIRS = 3146274,
    INCOMPLETE_TRACKED_WORKLOAD_PAIR = 3146275,
    OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR = 3146276,
    CANNOT_ADD_TRACKED_WORKLOAD = 3146277,
    TRACKED_WORKLOAD_NOT_SUPPORTED = 3146278,
    TRACKED_WORKLOAD_ENGINE_TYPE_NOT_FOUND = 3146279,
    NO_TRACKED_WORKLOAD_SLOT_AVAILABLE = 3146280,
    END_TRACKED_WORKLOAD_INVALID_ARG = 3146281,
    TRACKED_WORKLOAD_DISJOINT_FAILURE = 3146282,
    D3D11_5_MESSAGES_END = 3146283,
};

pub const MESSAGE = extern struct {
    Category: MESSAGE_CATEGORY,
    Severity: MESSAGE_SEVERITY,
    ID: MESSAGE_ID,
    pDescription: [*]const u8,
    DescriptionByteLength: SIZE_T,
};

pub const INFO_QUEUE_FILTER_DESC = extern struct {
    NumCategories: UINT,
    pCategoryList: ?[*]MESSAGE_CATEGORY,
    NumSeverities: UINT,
    pSeverityList: ?[*]MESSAGE_SEVERITY,
    NumIDs: UINT,
    pIDList: ?[*]MESSAGE_ID,
};

pub const INFO_QUEUE_FILTER = extern struct {
    AllowList: INFO_QUEUE_FILTER_DESC,
    DenyList: INFO_QUEUE_FILTER_DESC,
};

pub const IID_IInfoQueue = GUID.parse("{6543dbb6-1b48-42f5-ab82-e97ec74326f6}");
pub const IInfoQueue = extern struct {
    __v: *const VTable,

    pub usingnamespace Methods(@This());

    pub fn Methods(comptime T: type) type {
        return extern struct {
            pub usingnamespace IUnknown.Methods(T);

            pub inline fn GetMessage(
                self: *T,
                MessageIndex: UINT64,
                pMessage: ?*MESSAGE,
                pMessageByteLength: *SIZE_T,
            ) HRESULT {
                return @as(*const IInfoQueue.VTable, @ptrCast(self.__v)).GetMessage(
                    @as(*IInfoQueue, @ptrCast(self)),
                    MessageIndex,
                    pMessage,
                    pMessageByteLength,
                );
            }
            pub inline fn GetNumStoredMessages(self: *T) UINT64 {
                return @as(*const IInfoQueue.VTable, @ptrCast(self.__v))
                    .GetNumStoredMessages(@as(*IInfoQueue, @ptrCast(self)));
            }
            pub inline fn AddStorageFilterEntries(self: *T, filter: *INFO_QUEUE_FILTER) HRESULT {
                return @as(*const IInfoQueue.VTable, @ptrCast(self.__v))
                    .AddStorageFilterEntries(@as(*IInfoQueue, @ptrCast(self)), filter);
            }
            pub inline fn PushEmptyStorageFilter(self: *T) HRESULT {
                return @as(*const IInfoQueue.VTable, @ptrCast(self.__v))
                    .PushEmptyStorageFilter(@as(*IInfoQueue, @ptrCast(self)));
            }
            pub inline fn PushStorageFilter(self: *T, filter: *INFO_QUEUE_FILTER) HRESULT {
                return @as(*const IInfoQueue.VTable, @ptrCast(self.__v))
                    .PushStorageFilter(@as(*IInfoQueue, @ptrCast(self)), filter);
            }
            pub inline fn PopStorageFilter(self: *T) void {
                @as(*const IInfoQueue.VTable, @ptrCast(self.__v)).PopStorageFilter();
            }
            pub inline fn SetMuteDebugOutput(self: *T, mute: BOOL) void {
                @as(*const IInfoQueue.VTable, @ptrCast(self.__v)).SetMuteDebugOutput(@as(*IInfoQueue, @ptrCast(self)), mute);
            }
        };
    }

    pub const VTable = extern struct {
        const T = IInfoQueue;
        base: IUnknown.VTable,
        SetMessageCountLimit: *anyopaque,
        ClearStoredMessages: *anyopaque,
        GetMessage: *const fn (*T, UINT64, ?*MESSAGE, *SIZE_T) callconv(WINAPI) HRESULT,
        GetNumMessagesAllowedByStorageFilter: *anyopaque,
        GetNumMessagesDeniedByStorageFilter: *anyopaque,
        GetNumStoredMessages: *const fn (*T) callconv(WINAPI) UINT64,
        GetNumStoredMessagesAllowedByRetrievalFilter: *anyopaque,
        GetNumMessagesDiscardedByMessageCountLimit: *anyopaque,
        GetMessageCountLimit: *anyopaque,
        AddStorageFilterEntries: *const fn (*T, *INFO_QUEUE_FILTER) callconv(WINAPI) HRESULT,
        GetStorageFilter: *anyopaque,
        ClearStorageFilter: *anyopaque,
        PushEmptyStorageFilter: *const fn (*T) callconv(WINAPI) HRESULT,
        PushCopyOfStorageFilter: *anyopaque,
        PushStorageFilter: *const fn (*T, *INFO_QUEUE_FILTER) callconv(WINAPI) HRESULT,
        PopStorageFilter: *const fn (*T) callconv(WINAPI) void,
        GetStorageFilterStackSize: *anyopaque,
        AddRetrievalFilterEntries: *anyopaque,
        GetRetrievalFilter: *anyopaque,
        ClearRetrievalFilter: *anyopaque,
        PushEmptyRetrievalFilter: *anyopaque,
        PushCopyOfRetrievalFilter: *anyopaque,
        PushRetrievalFilter: *anyopaque,
        PopRetrievalFilter: *anyopaque,
        GetRetrievalFilterStackSize: *anyopaque,
        AddMessage: *anyopaque,
        AddApplicationMessage: *anyopaque,
        SetBreakOnCategory: *anyopaque,
        SetBreakOnSeverity: *anyopaque,
        SetBreakOnID: *anyopaque,
        GetBreakOnCategory: *anyopaque,
        GetBreakOnSeverity: *anyopaque,
        GetBreakOnID: *anyopaque,
        SetMuteDebugOutput: *const fn (*T, BOOL) callconv(WINAPI) void,
        GetMuteDebugOutput: *anyopaque,
    };
};
